<?php
	session_start();
	require('include/inc.start.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>

<body>
<?php
// connection settings stored in file
	include("connectionParameters.php");
	
	$connection = mysql_connect($host,$user,$pass)
		or die ("Can't connect to server, try again later, please");

	mysql_select_db($database);
	
	
	$sql="SELECT email, password FROM Users WHERE email='demitryt@gmail.com'";
	$result=mysql_query($sql);
	$row=mysql_fetch_array($result);
	
	echo $row[0];
	echo $row[1];
	echo $row[md5(1)];
	
	
	mysql_close($connection);
?>
</body>
</html>